import Layout from '@/page/index/';

export default [
    {
        path: '/login',
        name: '登录页',
        component: () => import(/* webpackChunkName: "page" */ '@/page/login/index'),
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    },
    {
        path: '/lock',
        name: '锁屏页',
        component: () => import(/* webpackChunkName: "page" */ '@/page/lock/index'),
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    },
    {
        path: '/404',
        component: () => import(/* webpackChunkName: "page" */ '@/components/error-page/404'),
        name: '404',
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    },
    {
        path: '/403',
        component: () => import(/* webpackChunkName: "page" */ '@/components/error-page/403'),
        name: '403',
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    },
    {
        path: '/500',
        component: () => import(/* webpackChunkName: "page" */ '@/components/error-page/500'),
        name: '500',
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    },
    {
        path: '/',
        name: '主页',
        redirect: '/wel'
    },
    {
        path: '/myiframe',
        component: Layout,
        redirect: '/myiframe',
        children: [
            {
                path: ':routerPath',
                name: 'iframe',
                component: () => import(/* webpackChunkName: "page" */ '@/components/iframe/main'),
                props: true
            }
        ]
    },
    {
        path: '*',
        redirect: '/404'
    },
    {
        path: '/authredirect',
        name: '授权页',
        component: () => import(/* webpackChunkName: "page" */ '@/page/login/authredirect'),
        meta: {
            keepAlive: true,
            isTab: false,
            isAuth: false
        }
    },
    {
        path: '/statistical',
        component: Layout,
        children: [
            {
                path: '/statistical',
                name: '群统计',
                component: () => import(/* webpackChunkName: "views" */ '@/views/customer-group/customer-group-list/statistical'),
                meta: {
                    keepAlive: true,
                    isTab: false,
                    isAuth: false
                }
            },
            {
                path: '/addSpeech',
                name: 'addSpeech', //新建/编辑欢迎语
                component: () => import(/* webpackChunkName: "page" */ '@/views/customers-into/welcome-speech/add-speech'),
                meta: {
                    keepAlive: true,
                    isTab: false,
                    isAuth: false
                }
            }
        ]
    },
    {
        path: '/wechat-details',
        component: Layout,
        children: [
            {
                path: '/wechat-details',
                name: '查看详情',
                component: () => import(/* webpackChunkName: "views" */ '@/views/customer/wechat-moments/manage/wechat-details'),
                meta: {
                    keepAlive: true,
                    isTab: false,
                    isAuth: false
                }
            }
        ]
    },
    {
        path: '/customer-list',
        component: Layout,
        children: [
            {
                path: '/customer-list',
                name: '在职成员详情',
                component: () => import(/* webpackChunkName: "views" */ '@/views/customer/incumbency-succession/customer-list'),
                meta: {
                    keepAlive: true,
                    isTab: false,
                    isAuth: false
                }
            }
        ]
    },
    {
        path: '/resigned-employee',
        component: Layout,
        children: [
            {
                path: '/resigned-employee',
                name: '离职成员',
                component: () => import(/* webpackChunkName: "views" */ '@/views/customer/resignation-inheritance/resigned-employee'),
                meta: {
                    keepAlive: true,
                    isTab: false,
                    isAuth: false
                }
            }
        ]
    },
    {
        path: '/customer-info',
        component: Layout,
        children: [
            {
                path: '/customer-info',
                name: '客户信息',
                component: () => import(/* webpackChunkName: "views" */ '@/views/customer/resignation-inheritance/customer-info'),
                meta: {
                    keepAlive: true,
                    isTab: false,
                    isAuth: false
                }
            }
        ]
    },
    {
        path: '/group-manage',
        component: Layout,
        children: [
            {
                path: '/group-manage',
                name: '发布范围管理2',
                component: () => import(/* webpackChunkName: "views" */ '@/views/operation-manage/task-release/manage/group-manage'),
                meta: {
                    keepAlive: true,
                    isTab: false,
                    isAuth: false
                }
            }
        ]
    },
    {
        path: '/pull-manage',
        component: Layout,
        children: [
            {
                path: '/pull-manage',
                name: '发布范围管理',
                component: () => import(/* webpackChunkName: "views" */ '@/views/operation-manage/moring/pull-manage/index'),
                meta: {
                    keepAlive: true,
                    isTab: false,
                    isAuth: false
                }
            }
        ]
    }
];
